package com.example.redislearning.entity;

import lombok.Data;

import java.time.LocalDateTime;

/**
 * 用户实体类
 * 对应表：users
 */
@Data
public class User {
    private Integer id;
    private String username;
    private String email;
    private String password;
    private String nickname;
    private String avatar;
    private String phone;
    private Integer status;
    private Integer points;
    private Integer totalStudyTime;
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;
    private LocalDateTime lastLoginTime;

}